package com.atguigu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.pojo.User;
import com.atguigu.service.UserService;
import com.atguigu.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Service实现
* @createDate 2024-04-07 11:16:54
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{
    @Autowired
    private com.atguigu.springboot_1.mapper.UserMapper userMapper;

    @Override
    public IPage<com.atguigu.springboot_1.pojo.User> findMyPage(IPage<com.atguigu.springboot_1.pojo.User> page, Integer age, String sex) {
        return userMapper.findMyPage(page,age,sex);
    }
}




